package com.hb.software.holiday.dao;


import com.hb.software.dao.BaseDao;
import com.hb.software.entity.holiday.HolidayMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HolidayDao extends BaseDao<HolidayMessage,Long> {

    public List<HolidayMessage> findByName(String name);
    public List<HolidayMessage> findByStates(String states);
    public long findLastId();

    public List<HolidayMessage>  findByDepartment(String department);

}
